package com.charles.seckillPlatform.mapper;

import com.charles.seckillData.domain.SysAddr;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysAddrMapper {
    
    List<SysAddr> queryAddrTableList(Long userId);
    
    boolean createAddress(SysAddr sysAddr);
    
    SysAddr queryAddrById(Long addrId);

    boolean modifyAddress(SysAddr sysAddr);

    boolean deleteAddress(Long addrId);
    
}
